#pragma once


// sms_tree

class sms_tree : public CTreeCtrl
{
	DECLARE_DYNAMIC(sms_tree)

public:
	sms_tree();
	virtual ~sms_tree();

protected:
	DECLARE_MESSAGE_MAP()
protected:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
public:
	afx_msg void OnTvnSelchanged(NMHDR *pNMHDR, LRESULT *pResult);
//	afx_msg void OnNMCustomdraw(NMHDR *pNMHDR, LRESULT *pResult);
	afx_msg void OnNMRclick(NMHDR *pNMHDR, LRESULT *pResult);
	afx_msg void OnTvnEndlabeledit(NMHDR *pNMHDR, LRESULT *pResult);
	void set_parent_wnd(HWND hwnd){ this->parent_wnd_ = hwnd; }
private:
	HWND parent_wnd_;
	CFont my_font_;
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
};


